package crawler;

import parser.*;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Ilio Catallo, Eleonora Ciceri
 * @version: 1.0
 * 
 * Description: The class implements a text web crawler capable of retrieving
 *              textual information starting from the response attributes
 * 
 * Date: Nov 16, 2011
 */
public abstract class TextCrawler extends Crawler{
    
    /**
     * Constructor for the class TextCrawler
     * @param type
     * @param query
     * @param attributes
     * @param conditionAttribute 
     */
    public TextCrawler(String protocol, LinkedHashMap<String, String> query) {
        super(protocol, query);
    }
    
    @Override
    protected List<Object> preProcessData(List<HashMap<String, String>> responseAttributes) {
        
        return null;
    }
    
    @Override
    protected ArrayList<Object> processData(List<Object> data) {
        
        return null;
    }
    
}
